package ch.sv7.tool.dbmanager.db.dialect.sybase;

import junit.framework.TestCase;

/**
 * TODO: Document me!
 *
 * @author svt
 *
 */
public class SybaseDataTypeConversionTestCase extends TestCase {

	public void testConversions1() throws Exception {
		assertEquals(
				SybaseDataTypeConversion.EXPLICIT, 
				SybaseDataTypeConversion.getConversionType("univarchar", "float"));
	}
	public void testConversions2() throws Exception {
		assertEquals(
				SybaseDataTypeConversion.UNSUPPORTED, 
				SybaseDataTypeConversion.getConversionType("binary", "image"));
	}
	public void testConversions3() throws Exception {
		assertEquals(
				SybaseDataTypeConversion.EXPLICIT, 
				SybaseDataTypeConversion.getConversionType("varchar", "decimal"));
	}
	public void testConversionsSame() throws Exception {
		assertEquals(
				SybaseDataTypeConversion.SAME, 
				SybaseDataTypeConversion.getConversionType("varchar", "varchar"));
	}
}
